import Config from '../../config/config'
import { DefaultDataModel } from '../../model/index'

function tspEventList(req, res) {
  const resData = DefaultDataModel([
    {
      name: '电压过高',
      value: '3'
    },
    {
      name: '电压过低',
      value: '4'
    }
  ])
  res.json(resData)
}

const ResponseList = [
  {
    path: `${Config.baseURL}/api/object/tspEvents`,
    method: 'get',
    fun: tspEventList
  }
]

export default ResponseList
